import Layout from "@/layout/Index.vue";
import MainView from "@/layout/components/MainView.vue";
import school from "@/views/school.vue";
import _class from "@/views/class.vue";
import student from "@/views/student.vue";

export const schoolRouters = {
    path: "/school",
    name: "school",
    component: Layout,
    meta: {
        title: '校园管理',
        icon: 'el-icon-setting'
    },
    children: [{
        path: "school",
        name: "school_school",
        component: school,
        meta: {
            title: '学校管理',
            icon: 'el-icon-user',
        },
    },
    {
        path: "class",
        name: "school_class",
        component: _class,
        meta: {
            title: '教室管理',
            icon: 'el-icon-user',
        },
    }, {
        path: "student",
        name: "school_student",
        component: student,
        meta: {
            title: '教室管理',
            icon: 'el-icon-user',
        },
    }
        // {
        //     path: "group_role",
        //     name: "group_role",
        //     component: GroupRoleManageView,
        //     meta: {
        //         title: '组织及授权',
        //         icon: 'el-icon-s-operation',
        //         permissions: ['group_role'],
        //     },
        // }, {
        //     path: "permission",
        //     name: "permission",
        //     component: Permission,
        //     meta: {
        //         title: '权限内容管理',
        //         icon: 'el-icon-tickets',
        //         permissions: ['permission'],
        //     },
        // },
    ]
}